package com.quanyan.scheduler.mapper;

import com.quanyan.scheduler.entity.db.TbWeichatAccount;
import com.quanyan.scheduler.entity.db.TbWeichatAccountExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbWeichatAccountMapper {
    int countByExample(TbWeichatAccountExample example);

    int deleteByExample(TbWeichatAccountExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbWeichatAccount record);

    int insertSelective(TbWeichatAccount record);

    List<TbWeichatAccount> selectByExampleWithBLOBs(TbWeichatAccountExample example);
    List<TbWeichatAccount> selectAllByType(String type);
    List<TbWeichatAccount> selectByExample(TbWeichatAccountExample example);

    TbWeichatAccount selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbWeichatAccount record, @Param("example") TbWeichatAccountExample example);

    int updateByExampleWithBLOBs(@Param("record") TbWeichatAccount record, @Param("example") TbWeichatAccountExample example);

    int updateByExample(@Param("record") TbWeichatAccount record, @Param("example") TbWeichatAccountExample example);

    int updateByPrimaryKeySelective(TbWeichatAccount record);

    int updateByPrimaryKeyWithBLOBs(TbWeichatAccount record);

    int updateByPrimaryKey(TbWeichatAccount record);
}